package com.sc.byahi.user.client.components.maps.places;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.sc.byahi.user.client.components.maps.services.GeocoderAddressComponent;

public class PlaceResult extends JavaScriptObject {

	protected PlaceResult() {
	}

	public static final PlaceResult newInstance() {
		return JavaScriptObject.createObject().cast();
	}

	public final native String getFormatted_Address() /*-{
		return this.formatted_address;
	}-*/;

	public final native PlaceGeometry getGeometry() /*-{
		return this.geometry;
	}-*/;

	public final native JsArray<GeocoderAddressComponent> getAddress_Components() /*-{
		return this.address_components;
	}-*/;
}
